<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<fmt:setBundle basename="com.kolon.config.properties.config" var="config" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${requestScope.contextPath}/css/mngr/common.css" rel="stylesheet" type="text/css" />
<title><fmt:message bundle="${config}" key="mngr.title" /></title>
<script type="text/javascript" src="${requestScope.contextPath}/js/jquery-ui-1.8.14.custom/js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="${requestScope.contextPath}/js/jquery-ui-1.8.14.custom/js/jquery-ui-1.8.14.custom.min.js"></script>
<script type="text/javascript" src="${requestScope.contextPath}/js/jquery-validate/jquery.validate.js"></script>
<script type="text/javascript" src="${requestScope.contextPath}/js/common.js"></script>
<script type="text/javascript" src="${requestScope.contextPath}/js/mngr.js"></script>
<link rel="stylesheet" type="text/css" href="${requestScope.contextPath}/js/jquery-ui-1.8.14.custom/css/ui-lightness/jquery-ui-1.8.14.custom.css" />
</head>
<body>

	<table border=0  cellpadding=0 cellspacing=0 width="100%">
	<tr>
		<td>

		<table width="100%" border="0" cellpadding="0" cellspacing="5" bgcolor="F0F9FC">
		<tr> 
			<td>
				<form id="appForm" action="${requestScope.contextPath}/business/mngr/service/appWrite.do" method="post" enctype="multipart/form-data">
				<input type="hidden" name="servNo" value="${servNo}" />
				<c:if test="${fn:length(appList) > 0}">
				<input type="hidden" name="appNm" value="${appList[0].APP_NM}" />
				</c:if>
				<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="BED7DF">
				<tr><td colspan="2" bgcolor=E7F6FB align="left"><font color="1CABD4"><b>&nbsp;&#149; 앱 등록 (업데이트)</b></font></td></tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" nowrap>&nbsp;<font color="red"></font><font color="000000"><font color="red">*</font> 앱 버전</font>&nbsp;</td>
					<td  bgcolor="ffffff"  align="left"><input type="text" name="frfVer" class="buttonC" /> <c:if test="${fn:length(appList) > 0}">(최신버전 ${appList[0].FRF_VER})</c:if></td>
				</tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" nowrap>&nbsp;<font color="red"></font><font color="000000"><font color="red">*</font> 앱 명</font>&nbsp;</td>
					<td  bgcolor="ffffff"  align="left">
						<c:if test="${fn:length(appList) > 0}">${appList[0].APP_NM}</c:if>
						<c:if test="${fn:length(appList) == 0}"><input type="text" name="appNm" /></c:if>
					</td>
				</tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" valign=top nowrap>&nbsp;<font color="red">*</font><font color="000000"> 앱 파일</font>&nbsp;</td>
					<td  bgcolor="ffffff"  align="left">
						<input type="file" name="appFile" class="buttonC" size="15"/> (실행될 파일 첨부 plist, apk)<br/> 
						<input type="file" name="appFile" class="buttonC" size="15"/><br/>
						<input type="file" name="appFile" class="buttonC" size="15"/><br/>
					</td>
				</tr>
				</table>
				<table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="BED7DF">
				<tr>
					<td colspan="2" bgcolor=FFFFFF height="50" align="center">
						<input type="submit" value="확인" /><input type="button" value="취소" onclick="javascript:history.back();" /><br><br>
					</td>
				</tr>
				</table>
				</form>
				</td>
				</tr>
			</table>
			</td>
			</tr>
		</table>

</body>
</html>